package com.hzcx.app.simplechat.ui.login.contract;

import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.login.bean.LoginInfoBean;
import com.hzcx.app.simplechat.ui.publicui.bean.ProtocolBean;

public interface BindPhoneContract {

    interface View extends IView {
        void sendCodeSuccess();
        void bindSuccess();
        void protocolResult(ProtocolBean data);
    }

    interface Presenter extends IPresenter<View> {
        void sendCode(Context context,String mobile,String event,String area_code);
        void bindPhone(Context context,String token,String mobile,String captcha,String area_code);
        void getProtocol(Context context, String type);
    }

}
